/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package application;

import javax.swing.ImageIcon;

/**
 *
 * @author Hui
 */
public class FriendImageIcon extends ImageIcon {

    private String name;

   public FriendImageIcon(String name){
       super(name);
   }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
